package com.fimuz.mqmeet.helper.mybatis.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class HxzPadExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public HxzPadExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andRecCreateTimeIsNull() {
            addCriterion("rec_create_time is null");
            return (Criteria) this;
        }

        public Criteria andRecCreateTimeIsNotNull() {
            addCriterion("rec_create_time is not null");
            return (Criteria) this;
        }

        public Criteria andRecCreateTimeEqualTo(Date value) {
            addCriterion("rec_create_time =", value, "recCreateTime");
            return (Criteria) this;
        }

        public Criteria andRecCreateTimeNotEqualTo(Date value) {
            addCriterion("rec_create_time <>", value, "recCreateTime");
            return (Criteria) this;
        }

        public Criteria andRecCreateTimeGreaterThan(Date value) {
            addCriterion("rec_create_time >", value, "recCreateTime");
            return (Criteria) this;
        }

        public Criteria andRecCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("rec_create_time >=", value, "recCreateTime");
            return (Criteria) this;
        }

        public Criteria andRecCreateTimeLessThan(Date value) {
            addCriterion("rec_create_time <", value, "recCreateTime");
            return (Criteria) this;
        }

        public Criteria andRecCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("rec_create_time <=", value, "recCreateTime");
            return (Criteria) this;
        }

        public Criteria andRecCreateTimeIn(List<Date> values) {
            addCriterion("rec_create_time in", values, "recCreateTime");
            return (Criteria) this;
        }

        public Criteria andRecCreateTimeNotIn(List<Date> values) {
            addCriterion("rec_create_time not in", values, "recCreateTime");
            return (Criteria) this;
        }

        public Criteria andRecCreateTimeBetween(Date value1, Date value2) {
            addCriterion("rec_create_time between", value1, value2, "recCreateTime");
            return (Criteria) this;
        }

        public Criteria andRecCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("rec_create_time not between", value1, value2, "recCreateTime");
            return (Criteria) this;
        }

        public Criteria andRecUpdateTimeIsNull() {
            addCriterion("rec_update_time is null");
            return (Criteria) this;
        }

        public Criteria andRecUpdateTimeIsNotNull() {
            addCriterion("rec_update_time is not null");
            return (Criteria) this;
        }

        public Criteria andRecUpdateTimeEqualTo(Date value) {
            addCriterion("rec_update_time =", value, "recUpdateTime");
            return (Criteria) this;
        }

        public Criteria andRecUpdateTimeNotEqualTo(Date value) {
            addCriterion("rec_update_time <>", value, "recUpdateTime");
            return (Criteria) this;
        }

        public Criteria andRecUpdateTimeGreaterThan(Date value) {
            addCriterion("rec_update_time >", value, "recUpdateTime");
            return (Criteria) this;
        }

        public Criteria andRecUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("rec_update_time >=", value, "recUpdateTime");
            return (Criteria) this;
        }

        public Criteria andRecUpdateTimeLessThan(Date value) {
            addCriterion("rec_update_time <", value, "recUpdateTime");
            return (Criteria) this;
        }

        public Criteria andRecUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("rec_update_time <=", value, "recUpdateTime");
            return (Criteria) this;
        }

        public Criteria andRecUpdateTimeIn(List<Date> values) {
            addCriterion("rec_update_time in", values, "recUpdateTime");
            return (Criteria) this;
        }

        public Criteria andRecUpdateTimeNotIn(List<Date> values) {
            addCriterion("rec_update_time not in", values, "recUpdateTime");
            return (Criteria) this;
        }

        public Criteria andRecUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("rec_update_time between", value1, value2, "recUpdateTime");
            return (Criteria) this;
        }

        public Criteria andRecUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("rec_update_time not between", value1, value2, "recUpdateTime");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIsNull() {
            addCriterion("is_deleted is null");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIsNotNull() {
            addCriterion("is_deleted is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeletedEqualTo(String value) {
            addCriterion("is_deleted =", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotEqualTo(String value) {
            addCriterion("is_deleted <>", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedGreaterThan(String value) {
            addCriterion("is_deleted >", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedGreaterThanOrEqualTo(String value) {
            addCriterion("is_deleted >=", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedLessThan(String value) {
            addCriterion("is_deleted <", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedLessThanOrEqualTo(String value) {
            addCriterion("is_deleted <=", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedLike(String value) {
            addCriterion("is_deleted like", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotLike(String value) {
            addCriterion("is_deleted not like", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIn(List<String> values) {
            addCriterion("is_deleted in", values, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotIn(List<String> values) {
            addCriterion("is_deleted not in", values, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedBetween(String value1, String value2) {
            addCriterion("is_deleted between", value1, value2, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotBetween(String value1, String value2) {
            addCriterion("is_deleted not between", value1, value2, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andPadSidIsNull() {
            addCriterion("pad_sid is null");
            return (Criteria) this;
        }

        public Criteria andPadSidIsNotNull() {
            addCriterion("pad_sid is not null");
            return (Criteria) this;
        }

        public Criteria andPadSidEqualTo(String value) {
            addCriterion("pad_sid =", value, "padSid");
            return (Criteria) this;
        }

        public Criteria andPadSidNotEqualTo(String value) {
            addCriterion("pad_sid <>", value, "padSid");
            return (Criteria) this;
        }

        public Criteria andPadSidGreaterThan(String value) {
            addCriterion("pad_sid >", value, "padSid");
            return (Criteria) this;
        }

        public Criteria andPadSidGreaterThanOrEqualTo(String value) {
            addCriterion("pad_sid >=", value, "padSid");
            return (Criteria) this;
        }

        public Criteria andPadSidLessThan(String value) {
            addCriterion("pad_sid <", value, "padSid");
            return (Criteria) this;
        }

        public Criteria andPadSidLessThanOrEqualTo(String value) {
            addCriterion("pad_sid <=", value, "padSid");
            return (Criteria) this;
        }

        public Criteria andPadSidLike(String value) {
            addCriterion("pad_sid like", value, "padSid");
            return (Criteria) this;
        }

        public Criteria andPadSidNotLike(String value) {
            addCriterion("pad_sid not like", value, "padSid");
            return (Criteria) this;
        }

        public Criteria andPadSidIn(List<String> values) {
            addCriterion("pad_sid in", values, "padSid");
            return (Criteria) this;
        }

        public Criteria andPadSidNotIn(List<String> values) {
            addCriterion("pad_sid not in", values, "padSid");
            return (Criteria) this;
        }

        public Criteria andPadSidBetween(String value1, String value2) {
            addCriterion("pad_sid between", value1, value2, "padSid");
            return (Criteria) this;
        }

        public Criteria andPadSidNotBetween(String value1, String value2) {
            addCriterion("pad_sid not between", value1, value2, "padSid");
            return (Criteria) this;
        }

        public Criteria andRoomIdIsNull() {
            addCriterion("room_id is null");
            return (Criteria) this;
        }

        public Criteria andRoomIdIsNotNull() {
            addCriterion("room_id is not null");
            return (Criteria) this;
        }

        public Criteria andRoomIdEqualTo(String value) {
            addCriterion("room_id =", value, "roomId");
            return (Criteria) this;
        }

        public Criteria andRoomIdNotEqualTo(String value) {
            addCriterion("room_id <>", value, "roomId");
            return (Criteria) this;
        }

        public Criteria andRoomIdGreaterThan(String value) {
            addCriterion("room_id >", value, "roomId");
            return (Criteria) this;
        }

        public Criteria andRoomIdGreaterThanOrEqualTo(String value) {
            addCriterion("room_id >=", value, "roomId");
            return (Criteria) this;
        }

        public Criteria andRoomIdLessThan(String value) {
            addCriterion("room_id <", value, "roomId");
            return (Criteria) this;
        }

        public Criteria andRoomIdLessThanOrEqualTo(String value) {
            addCriterion("room_id <=", value, "roomId");
            return (Criteria) this;
        }

        public Criteria andRoomIdLike(String value) {
            addCriterion("room_id like", value, "roomId");
            return (Criteria) this;
        }

        public Criteria andRoomIdNotLike(String value) {
            addCriterion("room_id not like", value, "roomId");
            return (Criteria) this;
        }

        public Criteria andRoomIdIn(List<String> values) {
            addCriterion("room_id in", values, "roomId");
            return (Criteria) this;
        }

        public Criteria andRoomIdNotIn(List<String> values) {
            addCriterion("room_id not in", values, "roomId");
            return (Criteria) this;
        }

        public Criteria andRoomIdBetween(String value1, String value2) {
            addCriterion("room_id between", value1, value2, "roomId");
            return (Criteria) this;
        }

        public Criteria andRoomIdNotBetween(String value1, String value2) {
            addCriterion("room_id not between", value1, value2, "roomId");
            return (Criteria) this;
        }

        public Criteria andIsOnlineIsNull() {
            addCriterion("is_online is null");
            return (Criteria) this;
        }

        public Criteria andIsOnlineIsNotNull() {
            addCriterion("is_online is not null");
            return (Criteria) this;
        }

        public Criteria andIsOnlineEqualTo(String value) {
            addCriterion("is_online =", value, "isOnline");
            return (Criteria) this;
        }

        public Criteria andIsOnlineNotEqualTo(String value) {
            addCriterion("is_online <>", value, "isOnline");
            return (Criteria) this;
        }

        public Criteria andIsOnlineGreaterThan(String value) {
            addCriterion("is_online >", value, "isOnline");
            return (Criteria) this;
        }

        public Criteria andIsOnlineGreaterThanOrEqualTo(String value) {
            addCriterion("is_online >=", value, "isOnline");
            return (Criteria) this;
        }

        public Criteria andIsOnlineLessThan(String value) {
            addCriterion("is_online <", value, "isOnline");
            return (Criteria) this;
        }

        public Criteria andIsOnlineLessThanOrEqualTo(String value) {
            addCriterion("is_online <=", value, "isOnline");
            return (Criteria) this;
        }

        public Criteria andIsOnlineLike(String value) {
            addCriterion("is_online like", value, "isOnline");
            return (Criteria) this;
        }

        public Criteria andIsOnlineNotLike(String value) {
            addCriterion("is_online not like", value, "isOnline");
            return (Criteria) this;
        }

        public Criteria andIsOnlineIn(List<String> values) {
            addCriterion("is_online in", values, "isOnline");
            return (Criteria) this;
        }

        public Criteria andIsOnlineNotIn(List<String> values) {
            addCriterion("is_online not in", values, "isOnline");
            return (Criteria) this;
        }

        public Criteria andIsOnlineBetween(String value1, String value2) {
            addCriterion("is_online between", value1, value2, "isOnline");
            return (Criteria) this;
        }

        public Criteria andIsOnlineNotBetween(String value1, String value2) {
            addCriterion("is_online not between", value1, value2, "isOnline");
            return (Criteria) this;
        }

        public Criteria andGeoLongitudeIsNull() {
            addCriterion("geo_longitude is null");
            return (Criteria) this;
        }

        public Criteria andGeoLongitudeIsNotNull() {
            addCriterion("geo_longitude is not null");
            return (Criteria) this;
        }

        public Criteria andGeoLongitudeEqualTo(BigDecimal value) {
            addCriterion("geo_longitude =", value, "geoLongitude");
            return (Criteria) this;
        }

        public Criteria andGeoLongitudeNotEqualTo(BigDecimal value) {
            addCriterion("geo_longitude <>", value, "geoLongitude");
            return (Criteria) this;
        }

        public Criteria andGeoLongitudeGreaterThan(BigDecimal value) {
            addCriterion("geo_longitude >", value, "geoLongitude");
            return (Criteria) this;
        }

        public Criteria andGeoLongitudeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("geo_longitude >=", value, "geoLongitude");
            return (Criteria) this;
        }

        public Criteria andGeoLongitudeLessThan(BigDecimal value) {
            addCriterion("geo_longitude <", value, "geoLongitude");
            return (Criteria) this;
        }

        public Criteria andGeoLongitudeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("geo_longitude <=", value, "geoLongitude");
            return (Criteria) this;
        }

        public Criteria andGeoLongitudeIn(List<BigDecimal> values) {
            addCriterion("geo_longitude in", values, "geoLongitude");
            return (Criteria) this;
        }

        public Criteria andGeoLongitudeNotIn(List<BigDecimal> values) {
            addCriterion("geo_longitude not in", values, "geoLongitude");
            return (Criteria) this;
        }

        public Criteria andGeoLongitudeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("geo_longitude between", value1, value2, "geoLongitude");
            return (Criteria) this;
        }

        public Criteria andGeoLongitudeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("geo_longitude not between", value1, value2, "geoLongitude");
            return (Criteria) this;
        }

        public Criteria andGeoLatitudeIsNull() {
            addCriterion("geo_latitude is null");
            return (Criteria) this;
        }

        public Criteria andGeoLatitudeIsNotNull() {
            addCriterion("geo_latitude is not null");
            return (Criteria) this;
        }

        public Criteria andGeoLatitudeEqualTo(BigDecimal value) {
            addCriterion("geo_latitude =", value, "geoLatitude");
            return (Criteria) this;
        }

        public Criteria andGeoLatitudeNotEqualTo(BigDecimal value) {
            addCriterion("geo_latitude <>", value, "geoLatitude");
            return (Criteria) this;
        }

        public Criteria andGeoLatitudeGreaterThan(BigDecimal value) {
            addCriterion("geo_latitude >", value, "geoLatitude");
            return (Criteria) this;
        }

        public Criteria andGeoLatitudeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("geo_latitude >=", value, "geoLatitude");
            return (Criteria) this;
        }

        public Criteria andGeoLatitudeLessThan(BigDecimal value) {
            addCriterion("geo_latitude <", value, "geoLatitude");
            return (Criteria) this;
        }

        public Criteria andGeoLatitudeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("geo_latitude <=", value, "geoLatitude");
            return (Criteria) this;
        }

        public Criteria andGeoLatitudeIn(List<BigDecimal> values) {
            addCriterion("geo_latitude in", values, "geoLatitude");
            return (Criteria) this;
        }

        public Criteria andGeoLatitudeNotIn(List<BigDecimal> values) {
            addCriterion("geo_latitude not in", values, "geoLatitude");
            return (Criteria) this;
        }

        public Criteria andGeoLatitudeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("geo_latitude between", value1, value2, "geoLatitude");
            return (Criteria) this;
        }

        public Criteria andGeoLatitudeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("geo_latitude not between", value1, value2, "geoLatitude");
            return (Criteria) this;
        }

        public Criteria andOnlineTimeIsNull() {
            addCriterion("online_time is null");
            return (Criteria) this;
        }

        public Criteria andOnlineTimeIsNotNull() {
            addCriterion("online_time is not null");
            return (Criteria) this;
        }

        public Criteria andOnlineTimeEqualTo(Date value) {
            addCriterion("online_time =", value, "onlineTime");
            return (Criteria) this;
        }

        public Criteria andOnlineTimeNotEqualTo(Date value) {
            addCriterion("online_time <>", value, "onlineTime");
            return (Criteria) this;
        }

        public Criteria andOnlineTimeGreaterThan(Date value) {
            addCriterion("online_time >", value, "onlineTime");
            return (Criteria) this;
        }

        public Criteria andOnlineTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("online_time >=", value, "onlineTime");
            return (Criteria) this;
        }

        public Criteria andOnlineTimeLessThan(Date value) {
            addCriterion("online_time <", value, "onlineTime");
            return (Criteria) this;
        }

        public Criteria andOnlineTimeLessThanOrEqualTo(Date value) {
            addCriterion("online_time <=", value, "onlineTime");
            return (Criteria) this;
        }

        public Criteria andOnlineTimeIn(List<Date> values) {
            addCriterion("online_time in", values, "onlineTime");
            return (Criteria) this;
        }

        public Criteria andOnlineTimeNotIn(List<Date> values) {
            addCriterion("online_time not in", values, "onlineTime");
            return (Criteria) this;
        }

        public Criteria andOnlineTimeBetween(Date value1, Date value2) {
            addCriterion("online_time between", value1, value2, "onlineTime");
            return (Criteria) this;
        }

        public Criteria andOnlineTimeNotBetween(Date value1, Date value2) {
            addCriterion("online_time not between", value1, value2, "onlineTime");
            return (Criteria) this;
        }

        public Criteria andTeamIdIsNull() {
            addCriterion("team_id is null");
            return (Criteria) this;
        }

        public Criteria andTeamIdIsNotNull() {
            addCriterion("team_id is not null");
            return (Criteria) this;
        }

        public Criteria andTeamIdEqualTo(String value) {
            addCriterion("team_id =", value, "teamId");
            return (Criteria) this;
        }

        public Criteria andTeamIdNotEqualTo(String value) {
            addCriterion("team_id <>", value, "teamId");
            return (Criteria) this;
        }

        public Criteria andTeamIdGreaterThan(String value) {
            addCriterion("team_id >", value, "teamId");
            return (Criteria) this;
        }

        public Criteria andTeamIdGreaterThanOrEqualTo(String value) {
            addCriterion("team_id >=", value, "teamId");
            return (Criteria) this;
        }

        public Criteria andTeamIdLessThan(String value) {
            addCriterion("team_id <", value, "teamId");
            return (Criteria) this;
        }

        public Criteria andTeamIdLessThanOrEqualTo(String value) {
            addCriterion("team_id <=", value, "teamId");
            return (Criteria) this;
        }

        public Criteria andTeamIdLike(String value) {
            addCriterion("team_id like", value, "teamId");
            return (Criteria) this;
        }

        public Criteria andTeamIdNotLike(String value) {
            addCriterion("team_id not like", value, "teamId");
            return (Criteria) this;
        }

        public Criteria andTeamIdIn(List<String> values) {
            addCriterion("team_id in", values, "teamId");
            return (Criteria) this;
        }

        public Criteria andTeamIdNotIn(List<String> values) {
            addCriterion("team_id not in", values, "teamId");
            return (Criteria) this;
        }

        public Criteria andTeamIdBetween(String value1, String value2) {
            addCriterion("team_id between", value1, value2, "teamId");
            return (Criteria) this;
        }

        public Criteria andTeamIdNotBetween(String value1, String value2) {
            addCriterion("team_id not between", value1, value2, "teamId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}